<include file="Public/mobile_head"/>
<link href="{:ADDON_PUBLIC_PATH}/mobile/common.css?v={:SITE_VERSION}" rel="stylesheet" type="text/css">
<script type="text/javascript" src="{:ADDON_PUBLIC_PATH}/mobile/shop.js?v={:SITE_VERSION}"></script>
<body>
    <div class="container">
        <!-- 头像和昵称 -->
        <div class="shop_row">
			<div class="shop_row_img">
				<img src="{:CUSTOM_TEMPLATE_PATH}Public/xintu6.jpg" />
				<div class="shop_toxiang">
					<div class="shop_toxiang_img">
						<notempty name='follow.headimgurl'>
						<img src="{$follow.headimgurl}"/>
						<else />
						<img src="{:ADDON_PUBLIC_PATH}/mobile/center.png"/>
						</notempty>
					</div>
					<div class="shop_toxiang_name">
						<notempty name='follow.nickname'>
						{$follow.nickname}
						<else />
						无信息
						</notempty>
					</div>
				</div>
			</div>
        </div>
    	<div class="page_title">
        	{$page_title}
        </div>
    	
        <empty name="orderList">
       		 <div class="empty_container"><p>暂时无参与数据</p></div>
        <else />
        <!-- 订单信息 -->
        <div class="order_list">
        	<ul>
            	<volist name="orderList" id="vo">
                <li>
                	<a style="display:block" href="{:U('orderDetail',array('id'=>$vo[id],'shop_id'=>$shop_id,'cid'=>$fenlei[id]))}">
                	<p class="top">
                    <span class="t">参与编号：{$vo.order_number}</span><!--<br/>-->
                    </p>
                    
                    <volist name="vo.goods" id="gg">
                    <div class="goods_item">
                        <div class="info">
                            <P class="name">{$gg.title}</P>
                            <p class="property">
                                <span class="colorless">价格</span>
                                <span class="orange">￥{$gg[price]*$gg[num]}元</span>
                            </p>
                            <p class="property">
                                <span class="colorless">数量</span>
                                <span>{$gg.num}</span>
                            </p>
                        </div>
                        
                    </div></volist>
                    </a>
                    <div class="order_list_bottom">
                    	<if condition="$vo[pay_status]==0 && $vo[pay_type]!=10">
                             <a class="btn small_btn" href="{:U('choose_pay',array('cid'=>$fenlei[id]))}&order_id={$vo.id}">立即付款</a>
                        <else />
                            <eq name="vo[is_send]" value="0">
                                <span>支付成功</span>
                            <else/>
                            	<if condition="$vo['status_code']==3">
                                <!--<a class="btn small_btn" href="javascript:;" onClick="confirmGetGoods('{:U('confirm_get',array('id'=>$vo[id]))}');">确认收货</a>-->
                                </if>
                            </eq>
                        </if>
                    	
                    </div>
                </li>
                </volist>
                
            </ul>
         </div>
        </empty>
         
        
    </div>	
    <!-- 底部导航 -->
    <include file="_footer"/>
</body>
</html>